package com.zrrd.learn.chapter08.proxy.Image;

import lombok.Data;

/**
 * 真实照片
 *
 * @author asus
 * @version 1.0
 * @date 2023/8/4 10:21
 */
@Data
public class Reallmage implements Image {

   private String fileName;

   public Reallmage(String fileName){

       this.fileName=fileName;


   }

    @Override
    public  void  display(){
        System.out.println("显示："+fileName);

    }

    public  void loadFromDisk(){
        System.out.println("等待："+fileName);
    }
}
